package xjcrypto

import (
	gonanoid "github.com/matoous/go-nanoid/v2"
)

func Nanoid() string {
	id, err := gonanoid.New()
	if err == nil {
		return id
	} else {
		return ""
	}
}
